using Gtk;
using Atlantis;

public class Hidalgo : GLib.Object
{
    public static int main (string[] args) 
    {
	stderr.printf("In Program.main(string[] args)\n");
        Registry registry = new Registry();
        
        registry.Resolve<IEventAggregator>().With<EventAggregator>(true);
        registry.Resolve<IDocumentService>().With<DocumentService>(true);
        registry.Resolve<IShellView>().With<ShellView>();
        registry.Resolve<IDocumentView>().With<DocumentView>();
        Application app = new Application(registry);
             
        return app.Run(args);
    }
}
